package com.xique.system.bean.domain;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.xique.common.core.annotation.Excel;
import com.xique.common.core.web.domain.BaseEntity;

/**
 * 后台系统公告对象 t_system_notice
 * 
 * @author xique
 * @date 2022-06-09
 */
@Data
public class SystemNotice extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 内容 */
    @Excel(name = "内容")
    private String content;

    /** 发布开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发布开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startTime;

    /** 发布结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发布结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    private String status;

    private Date nowTime;


}
